package comm.dhee.dao;

import java.sql.SQLException;
import java.util.List;

import comm.dhee.dto.M005;

public class TestLogon {

	public static void main(String[] args) {

		LogonDAO logonDAO = new LogonDAOImpl();

		try {
			List<M005> bumondtolist = logonDAO.selBumonList();
			for (M005 bumonDTO : bumondtolist) {
				System.out.println(bumonDTO.getBumonCode());
				System.out.println(bumonDTO.getBumonMei());
			}

			System.out.println(logonDAO.selTantoushaCode("101", "001"));
			System.out.println(logonDAO.selTantoushaMei("101", "111111"));
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
